
public abstract class CadastroTemplate {

	
	public abstract boolean validar();
	
	public abstract void salvar();
	
	public abstract void auditar();
	
	public abstract void notificar();
	
	
	
	/*
	 * 1 - auditar
	 * 2 - validar
	 * 3 - salvar
	 * 4 - notificar
	 */
	public void executar () {
		
		auditar();
		if (validar()) {
			salvar();
			notificar();
		}
		
	}
	
	
}
